package com.example.demo.mapper;

import com.example.demo.domain.Role;
import com.example.demo.domain.Vo.RoleListVo;
import org.apache.ibatis.annotations.Mapper;

import javax.management.relation.RoleList;
import java.util.List;

@Mapper
public interface RoleMapper {
    public List<RoleListVo> selectRole(Role role);

    public void  insertRole(Role role);

    void updateRoleById(Role role);

    void delRoleById(long roleId);
}
